package com.example.login.state

import com.example.common.state.BaseUiState
import com.example.home.entity.RecommendVideoEntity
import com.example.main.ui.home.entity.SimpleTypeEntity
import com.example.main.ui.home.entity.SimpleVideoEntity

sealed class SimpleUiState:BaseUiState(){
    object NoneState:SimpleUiState()

    data class TypeSuccess(var data:List<SimpleTypeEntity>):SimpleUiState()
    data class VideoSuccess(var data: List<SimpleVideoEntity>):SimpleUiState()
    data class RecommendSuccess(var data: List<RecommendVideoEntity>):SimpleUiState()

    data class RecommendFailure(var msg:String):SimpleUiState()
    data class TypeFailure(var msg:String):SimpleUiState()
    data class VideoFailure(var msg:String):SimpleUiState()


}